package com.group01.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.group01.community.entity.ZyBuilding;
import com.group01.community.entity.vo.ZyBuildingVo;

/**
 * <p>
 * 楼栋  Mapper 接口
 * </p>
 *
 * @author iuoly
 * @since 2022-07-04
 */
public interface ZyBuildingMapper extends BaseMapper<ZyBuilding> {

    /**
     * 分页查询楼栋信息
     * @param buildingPage 分页信息
     * @param communityId 小区id
     * @param buildingName 楼栋名
     * @param buildingCode 楼栋号
     * @return
     */
    IPage<ZyBuildingVo> getBuildingInterceptor(IPage<ZyBuildingVo> buildingPage, Long communityId, String buildingName, String buildingCode);
}
